import http from "../common/http.js"

export default {
	//获取菜单
	getMenus: (data,needLoading) => {
		return http.GET('/default/intelligent-match',data,needLoading) 
	},
	//获取商品
	getShops:(data,needLoading)=>{
		return http.GET('/default/goods-list',data,needLoading)
	},
	//获取场景
	getScene:(data,needLoading)=>{
		return http.GET('/default/intelligent-scene',data,needLoading)
	},
	//分享前接口
	shareBefore:(data,needLoading)=>{
		return http.POST('/default/make-works',data,needLoading)
	},
	//分享页面接口
	shareAfter:(data,needLoading)=>{
		return http.GET('/default/get-works-item',data,needLoading)
	},
}